package com.jn.exam.question.service;

import com.jn.exam.question.entity.PersonalQuestion;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.Date;
import java.util.List;
import java.util.concurrent.Future;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 江南大学1033190417
 * @since 2022-01-18
 */
public interface PersonalQuestionService extends IService<PersonalQuestion> {

    boolean removeQuestionByPersonalQuestionStoreId(String personalQuestionStoreId);

    Future<Boolean> deletePersonalQuestionByIdComplete(String personalQuestionId);

    boolean deletePersonalQuestionBysIdComplete(String[] personalQuestionId);

    List<PersonalQuestion> getPersonalQuestionHasDeleted(String personalQuestionStoreId);

    boolean recoveryDeleted(String[] personalQuestionIds);

    boolean deleteQuestionExpire(Date date);

    boolean removeByIds(String[] personalQuestionIds);
}
